package com.demo.constants;

/**
 * @author 曳戈泰尔
 * @version 1.0
 * @description 全局常量类
 * @date 2023/3/13 3:02 PM
 */
public class AppConstants {

    // 请求的requestId
    public static final String HEADER_RID_NAME = "face-rid";

    // app版本
    public static final String APP_VERSION = "version";

    // 请求路径
    public static final String REQUEST_PATH = "requestPath";

    // 传递attribute参数——当前用户
    public static final String APP_REQUEST_ATTRIBUTE = "currentUser";

    // token
    public static final String AUTHORIZATION_HEADER = "Authorization";

    // jwt 加密解密密钥
    public static final String APP_SECRET = "FSi!YXbAK$i&TYWg3Nb5th%W!Rgru&1g";

    // token 过期时间, 单位: MIN
    public static final int TOKEN_EXPIRED_TIME = 24 * 60;
}
